import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home/index'
import itemcon from '@/components/itemcontainer'
import item from '@/components/item/index'
import score from '@/components/score/index'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '',
      name: 'home',
      component: home
     /* children: [{
        path:'',
        name:'itemcon',
        component: itemcon
      }]*/
    },{
        path: '/item',
        component: item
    },
    {
        path:'/score',
        component: score
    }
  ]
})
